﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Budilo
{
    class IsPal
    {
        static void Main(string[] args)
        {
            string s;
            s = args[0];
            int i;
            int n = s.Length-1;
            if (n >= 0)
            {
                for (i = 0; i <= n / 2; i++)
                {
                    if (s[i] != s[n - i])
                    {
                        Console.WriteLine("String '{0}' isn't palindrom", s);
                        i = n;
                    }
                }
                if (s[i] == s[n-i])
                {
                    Console.WriteLine("String '{0}' is palindrom", s);
                }
            }
            if (n < 0)
            {
                Console.WriteLine("This string is empty");
            }

            Console.ReadLine();
        }
    }
}